jun.Salestransstore = Ext.extend(Ext.data.JsonStore, {
    constructor: function (cfg) {
        cfg = cfg || {};
        jun.Salestransstore.superclass.constructor.call(this, Ext.apply({
            storeId: 'SalestransStoreId',
            url: 'Salestrans',
            root: 'results',
            totalProperty: 'total',
            fields: [
                {name: 'salestrans_id'},
                {name: 'tgl'},
                {name: 'doc_ref'},
                {name: 'tdate'},
                {name: 'user_id'},
                {name: 'bruto'},
                {name: 'disc'},
                {name: 'discrp'},
                {name: 'totalpot'},
                {name: 'total'},
                {name: 'ketdisc'},
                {name: 'vat'},
                {name: 'customer_id'},
                {name: 'bank_id'}
            ]
        }, cfg));
    }
});
jun.rztSalestrans = new jun.Salestransstore();
jun.beautytransstore = Ext.extend(Ext.data.JsonStore, {
    constructor: function (cfg) {
        cfg = cfg || {};
        jun.beautytransstore.superclass.constructor.call(this, Ext.apply({
            storeId: 'beautytransStoreId',
            url: 'Salestrans/BeautyService',
            root: 'results',
            totalProperty: 'total',
            fields: [
                {name: 'salestrans_id'},
                {name: 'doc_ref'},
                {name: 'salestrans_details'},
                {name: 'barang_id'},
                {name: 'qty'},
                {name: 'beauty_id'}
            ]
        }, cfg));
    }
});
jun.rztBeutytrans = new jun.beautytransstore();
//jun.rztSalestrans.load();
